﻿Imports BUS
Public Class TiepNhanXeSua

    Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click
        'cbbHieuXe.DisplayMember = "TenHieuXe"
        Dim temp As New QuanLyXe
        temp.TiepNhanXe(txtTenChuXe.Text, txtBienSo.Text, cbbHieuXe.SelectedText, txtPhone.Text, txtDiaChi.Text)

    End Sub

    Private Sub TiepNhanXeSua_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim QLHX As New QuanLyHieuXe
        Dim ds As IList
        ds = QLHX.LayDanhSach()
        cbbHieuXe.DataSource = ds
    End Sub
End Class
